package com.entity;

import javax.persistence.*;
import lombok.*;
import java.math.BigDecimal;

/**
 * 【市政管理】 二级维保区域
 */

@Entity
@Table(name = "maintenance_area_level2")
@Getter @Setter @NoArgsConstructor
public class MaintenanceAreaLevel2 extends BaseEntity {


    private String areaLevel1Name;

    @Column(name = "area_name", length = 100)
    private String areaName;

    @Column(name = "cleaning_area_motorway", precision = 10, scale = 2, columnDefinition = "DECIMAL(10,2) default 0")
    private BigDecimal cleaningAreaMotorway;

    @Column(name = "cleaning_area_non_motorway", precision = 10, scale = 2, columnDefinition = "DECIMAL(10,2) default 0")
    private BigDecimal cleaningAreaNonMotorway;

    @Column(name = "greening_area_lawn", precision = 10, scale = 2, columnDefinition = "DECIMAL(10,2) default 0")
    private BigDecimal greeningAreaLawn;

    @Column(name = "greening_area_groundcover", precision = 10, scale = 2, columnDefinition = "DECIMAL(10,2) default 0")
    private BigDecimal greeningAreaGroundcover;

    @Column(name = "tree_count", columnDefinition = "INT default 0")
    private Integer treeCount;

}